const Layout = () => import("@/layout/index.vue");

export default {
  path: "/management",
  name: "management",
  component: Layout,
  redirect: "/management/index",
  meta: {
    icon: "ep:office-building",
    title: "灵工",
    rank: 3
  },
  children: [
    {
      path: "/management/index",
      name: "merchant_project_index",
      meta: {
        title: "灵工管理"
      },
      component: () => import("@/views/management/index.vue")
    },
    {
      path: "/management/signList",
      name: "merchant_project_signList",
      meta: {
        title: "签约灵工"
      },
      component: () => import("@/views/management/signList.vue")
    },
    {
      path: "/management/tax",
      name: "merchant_provide_tax",
      meta: {
        title: "完税凭证"
      },
      component: () => import("@/views/management/tax.vue")
    },
    {
      path: "/management/wait-sign",
      name: "merchant_project_wait-sign",
      meta: {
        title: "线下协议待签灵工"
      },
      component: () => import("@/views/management/wait-sign.vue")
    },
    {
      path: "/management/audit-sign",
      name: "merchant_project_audit-sign",
      meta: {
        title: "线下协议签约记录"
      },
      component: () => import("@/views/management/audit-sign.vue")
    },
    {
      path: "/management/audit-sign-detail",
      name: "merchant_project_audit-sign-detail",
      meta: {
        title: "签约明细",
        showLink: false
      },
      component: () => import("@/views/management/audit-sign-detail.vue")
    }
  ]
} satisfies RouteConfigsTable;
